log — natural logarithm


\begin{rail}
Log : 'log' '(' ( Scalar \vert Matrix ) ')' ;
\end{rail}
log returns the natural logarithm of its argument. If the argument is a matrix an element-by-element operation is performed. If the argument is complex, then the operation returns a complex value with the real part set to the logarithm of the arguments magnitude, and the imaginary part set to the phase of the argument.

Subsections